
package com.bei_en.teacher.admin.model.advertising.vo;

import java.util.*;
import com.bei_en.teacher.admin.model.advertising.bean.Advertising;
import com.bei_en.teacher.admin.model.BaseVo;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import java.math.BigDecimal;

/**
 * 用于前端页面数据传递
 * 
 * @author Guocg
 * @date 2016-11-13 9:55:54
 */
public class AdvertisingVo extends BaseVo {

    private Advertising advertising;

    public AdvertisingVo() {

    this.advertising = new Advertising();
    }

    public AdvertisingVo(Advertising advertising) {

    this.advertising = advertising;
    }
    
    public Advertising getAdvertising() {

    return this.advertising;
    }
    
    public void setAdvertising(Advertising advertising) {

    this.advertising=advertising;
    }

        public Integer getId() {
            return this.advertising.getAdId();
        }
        public void setId(Integer id) {
            this.advertising.setAdId(id);
        }
        
        public void setAdId(Integer value) {
    	this.advertising.setAdId(value);
        }
	
    public Integer getAdId() {
        return this.advertising.getAdId();
    }
        
        public void setAdType(Integer value) {
    	this.advertising.setAdType(value);
        }
	@Max(127)
    public Integer getAdType() {
        return this.advertising.getAdType();
    }
        
        public void setAdTitle(String value) {
    	this.advertising.setAdTitle(value);
        }
	@Length(max=255)
    public String getAdTitle() {
        return this.advertising.getAdTitle();
    }
        
        public void setAdSubhead(String value) {
    	this.advertising.setAdSubhead(value);
        }
	@Length(max=255)
    public String getAdSubhead() {
        return this.advertising.getAdSubhead();
    }
        
        public void setAdExcerpt(String value) {
    	this.advertising.setAdExcerpt(value);
        }
	@Length(max=255)
    public String getAdExcerpt() {
        return this.advertising.getAdExcerpt();
    }
        
        public void setAdPoster(String value) {
    	this.advertising.setAdPoster(value);
        }
	@Length(max=65535)
    public String getAdPoster() {
        return this.advertising.getAdPoster();
    }
        
        public void setAdContent(String value) {
    	this.advertising.setAdContent(value);
        }
	@Length(max=65535)
    public String getAdContent() {
        return this.advertising.getAdContent();
    }
        
        public void setAdTargetValue(String value) {
    	this.advertising.setAdTargetValue(value);
        }
	@Length(max=255)
    public String getAdTargetValue() {
        return this.advertising.getAdTargetValue();
    }
        
        public void setAdLocation(Integer value) {
    	this.advertising.setAdLocation(value);
        }
	
    public Integer getAdLocation() {
        return this.advertising.getAdLocation();
    }
        
        public void setAdSort(Integer value) {
    	this.advertising.setAdSort(value);
        }
	
    public Integer getAdSort() {
        return this.advertising.getAdSort();
    }
        
        public void setAdViews(Integer value) {
    	this.advertising.setAdViews(value);
        }
	
    public Integer getAdViews() {
        return this.advertising.getAdViews();
    }
        
        public void setAdStatus(Integer value) {
    	this.advertising.setAdStatus(value);
        }
	@Max(127)
    public Integer getAdStatus() {
        return this.advertising.getAdStatus();
    }
        
        public void setAdCreatedTime(Integer value) {
    	this.advertising.setAdCreatedTime(value);
        }
	
    public Integer getAdCreatedTime() {
        return this.advertising.getAdCreatedTime();
    }
    


}